tsteven4 [Fri, 1 Jun 2018 15:31:44 +0000 (09:31 -0600)]
use clang-tidy to convert the usage of null pointer constants to use the new C++11 nullptr keyword.
-header-filter=.*\\.h -checks=-*,modernize-use-nullptr -fix
tsteven4 [Fri, 1 Jun 2018 15:26:51 +0000 (09:26 -0600)]
add make targets to use clang-tidy.
tsteven4 [Tue, 29 May 2018 15:35:45 +0000 (09:35 -0600)]
make use of QStringLiteral with QXmlStreamWriter. (#153)
tsteven4 [Mon, 28 May 2018 20:29:54 +0000 (14:29 -0600)]
correct spelling in document. (#184)
tsteven4 [Sun, 27 May 2018 16:37:07 +0000 (10:37 -0600)]
fix link to build log in continuous windows release.
tsteven4 [Sun, 27 May 2018 15:32:45 +0000 (09:32 -0600)]
update appveyor token instructions. (#183)
tsteven4 [Sun, 27 May 2018 14:10:07 +0000 (08:10 -0600)]
bug fixes and improvements for uploadtool. (#182)
* fix body of appveyor uploads.
* give detailed instructions on appveyor upload when GITHUB_TOKEN missing.
* pick up upstream changes to upload.sh.
tsteven4 [Tue, 22 May 2018 15:13:05 +0000 (09:13 -0600)]
Use date instead of travis/appveyor build number in pre-release names. (#180)
tsteven4 [Tue, 22 May 2018 00:48:45 +0000 (18:48 -0600)]
token massage for appveyor.
tsteven4 [Tue, 22 May 2018 00:10:45 +0000 (18:10 -0600)]
fix permissions on extract-qt-installer.
tsteven4 [Mon, 21 May 2018 22:39:44 +0000 (16:39 -0600)]
Add mac build to travis CI (#179)
Add mac build to travis CI.
Deploy mac dmg to github releases from travis.
Deploy windows installer to github releases from appveyor.
tsteven4 [Fri, 18 May 2018 21:37:45 +0000 (15:37 -0600)]
Revert "add creation of appimage."
This reverts commit
46f8c773de64761cbde22adb078a26b55e41db2e.
tsteven4 [Fri, 18 May 2018 21:37:43 +0000 (15:37 -0600)]
Revert "fix packages for travis."
This reverts commit
807e853e62d2252a3a66e6b5a9fba647f88e5c3c.
tsteven4 [Fri, 18 May 2018 21:37:42 +0000 (15:37 -0600)]
Revert "fix travis"
This reverts commit
50353d5c57d3a0d4ad1dcaf301354a2675893b61.
tsteven4 [Fri, 18 May 2018 21:37:41 +0000 (15:37 -0600)]
Revert "fix travis packages, rpath."
This reverts commit
16d14a9d462de3983232d8c8d7cd8744387a9488.
tsteven4 [Fri, 18 May 2018 21:37:38 +0000 (15:37 -0600)]
Revert "fix travis builds"
This reverts commit
3e5d604ad38573a755d5c2fdf1d9593dc6a76d1d.
tsteven4 [Fri, 18 May 2018 21:37:33 +0000 (15:37 -0600)]
Revert "have travis avoid ppa environment script."
This reverts commit
f74c139d26efadfa929bcaca1aea5985fa819711.
tsteven4 [Fri, 18 May 2018 21:37:14 +0000 (15:37 -0600)]
Revert "fix up travis LDFLAGS."
This reverts commit
8229a81fa41bcccb5db5e1ffba10c2975ee750ed.
tsteven4 [Fri, 18 May 2018 13:14:19 +0000 (07:14 -0600)]
Merge pull request #176 from tsteven4/appv
Drop appveyor Qt 5.7 build, they dropped Qt 5.7 with MSVC 2015.
tsteven4 [Fri, 18 May 2018 12:49:58 +0000 (06:49 -0600)]
drop appveyor Qt 5.7 build.
tsteven4 [Wed, 16 May 2018 03:04:22 +0000 (21:04 -0600)]
fix up travis LDFLAGS.
tsteven4 [Wed, 16 May 2018 02:53:46 +0000 (20:53 -0600)]
have travis avoid ppa environment script.
tsteven4 [Wed, 16 May 2018 02:13:07 +0000 (20:13 -0600)]
fix travis builds
tsteven4 [Wed, 16 May 2018 01:32:50 +0000 (19:32 -0600)]
fix travis packages, rpath.
tsteven4 [Wed, 16 May 2018 01:05:28 +0000 (19:05 -0600)]
fix travis
tsteven4 [Wed, 16 May 2018 01:00:27 +0000 (19:00 -0600)]
fix packages for travis.
tsteven4 [Wed, 16 May 2018 00:50:22 +0000 (00:50 +0000)]
add creation of appimage.
tsteven4 [Sun, 13 May 2018 03:23:04 +0000 (21:23 -0600)]
Merge pull request #175 from tsteven4/qtpro
add config tests in GPSBabel.pro.
tsteven4 [Sat, 12 May 2018 16:54:02 +0000 (10:54 -0600)]
add config tests in GPSBabel.pro.
specifically, we look for stdarg.h and unistd.h for zlib.
tsteven4 [Sun, 6 May 2018 22:30:53 +0000 (16:30 -0600)]
Merge pull request #174 from gpsbabel/main
fix segfault in main and provide more debug info.
tsteven4 [Sun, 6 May 2018 21:40:10 +0000 (15:40 -0600)]
fix segfault in main and provide more debug info.
previously "gpsbabel -D" would segfault.
now when using -D Qt version and locale info is printed.
tsteven4 [Wed, 2 May 2018 21:45:40 +0000 (15:45 -0600)]
update gperf usage for C++. (#172)
this resolves clang 6.0.0 warnings:
warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
in_word_set(register const char* str, register unsigned int len);
tsteven4 [Wed, 2 May 2018 15:02:17 +0000 (09:02 -0600)]
remove vestiges of obsolete options -N, -c, -l. (#171)
GPSBabel [Mon, 30 Apr 2018 16:11:29 +0000 (11:11 -0500)]
Merge pull request #168 from gpsbabel/robertlipe-fix-unistd-warning
Fix warning in .Pro build by forcing HAVE_UNISTD
Robert Lipe [Mon, 30 Apr 2018 06:12:35 +0000 (01:12 -0500)]
Fix warning in .Pro build by forcing HAVE_UNISTD
I'm not sure if it's new in Qt 5.9, but it's trivial (I think) to fix and harmless. When building files like gzread and gzwrite, MacOS would complain that we were missing declarations to extremely well known system functions (write, close, read, seek, ...) Those live in <unistd.h>, so we nudge the Makefile generator to trigger its inclusion for MacOS and Linux.
tsteven4 [Sun, 29 Apr 2018 21:26:52 +0000 (15:26 -0600)]
Merge pull request #167 from tsteven4/ci_with_new_qt
Move Qt floor to 5.7
tsteven4 [Sun, 29 Apr 2018 20:54:21 +0000 (14:54 -0600)]
fix version check comment in c++ files.
tsteven4 [Sun, 29 Apr 2018 20:50:36 +0000 (14:50 -0600)]
syncrhonize config and run time version checks.
tsteven4 [Sat, 28 Apr 2018 22:02:50 +0000 (16:02 -0600)]
add Dockerfile used to build travis test image.
tsteven4 [Sat, 28 Apr 2018 21:35:26 +0000 (15:35 -0600)]
enforce minimum Qt version in configure.
tsteven4 [Sat, 28 Apr 2018 19:27:10 +0000 (13:27 -0600)]
another swipe at fixing the xol test.
tsteven4 [Sat, 28 Apr 2018 19:15:15 +0000 (13:15 -0600)]
fix xol test to be compatible with msvc runtime.
tsteven4 [Sat, 28 Apr 2018 18:55:28 +0000 (12:55 -0600)]
fix up rename of msvc mkspec.
tsteven4 [Sat, 28 Apr 2018 18:36:59 +0000 (12:36 -0600)]
move appveyor builds to newer versions of Qt with msvc only.
tsteven4 [Sat, 28 Apr 2018 16:28:53 +0000 (10:28 -0600)]
fix up test_encoding_utf8 environment for docker.
tsteven4 [Sat, 28 Apr 2018 15:51:45 +0000 (09:51 -0600)]
update reference files for compatibility with Qt >= 5.7.
tsteven4 [Sat, 28 Apr 2018 15:36:00 +0000 (09:36 -0600)]
test ci with new qt.
tsteven4 [Fri, 27 Apr 2018 19:38:33 +0000 (13:38 -0600)]
update configure compatibility with system zlib, (#156)
and minizip.
restore support for building with configure
outside the srcdir.
tsteven4 [Thu, 26 Apr 2018 17:14:55 +0000 (11:14 -0600)]
Shapefile doc and reader fixes. (#165)
Don't cram different parts of polylines into one route, they
may not be connected.
Add documentation on transformation of coordinate systems that
may be required for GPSBabel usage of shapefiles.
Robert Lipe [Sun, 15 Apr 2018 20:59:29 +0000 (15:59 -0500)]
Update README.md
Try to make less of a mess of English. :-)
Robert Lipe [Sun, 15 Apr 2018 20:50:20 +0000 (15:50 -0500)]
Update README.md
make less of a mess of the markdown.
Robert Lipe [Sun, 15 Apr 2018 07:41:32 +0000 (02:41 -0500)]
Merge pull request #144 from gpsbabel/fix_bad_merge
Loosen coupling of upgrade queries to OS version by using newer (2014) Qt services.
Robert Lipe [Sun, 15 Apr 2018 07:37:31 +0000 (02:37 -0500)]
update README.md
typo fixes before bedtime...
Robert Lipe [Sun, 15 Apr 2018 07:28:55 +0000 (02:28 -0500)]
Improvements in README.me w/ new links
Robert Lipe [Sun, 15 Apr 2018 07:21:25 +0000 (02:21 -0500)]
Update toplevel README.md.
include badges for build status, remove code.google.com reference
Robert Lipe [Sun, 15 Apr 2018 06:10:23 +0000 (01:10 -0500)]
Merge pull request #135 from gpsbabel/gopal
Code cleanups in gopal.
Robert Lipe [Sun, 15 Apr 2018 06:09:49 +0000 (01:09 -0500)]
Merge branch 'master' into gopal
Robert Lipe [Sun, 15 Apr 2018 05:24:11 +0000 (00:24 -0500)]
Merge pull request #163 from tormet/master
Torsten Metzner ads support for FIT version 2.0.
Torsten Metzner [Tue, 20 Mar 2018 21:31:24 +0000 (22:31 +0100)]
Added support for FIT version 2.0
With FIT version 2.0 developer fields where added to the definition
messages. These fields extends the definiton messages and due to this the
number of records which must be parsed afterwards.
FIT files containing developer fields could not be parsed before
this changes.
Simple support was added by just parsing the data but without using them.
It is not expected that any of the currently used data like the
position or the elevation is coded inside the developer fields
because for this we have the already existing records from
FIT version 1.0
Added a test with a fit test file coming from the Wahoo Element Bolt
which uses developer fields from FIT version 2.0
GPSBabel [Sun, 18 Mar 2018 21:45:31 +0000 (16:45 -0500)]
Merge pull request #162 from cweiske/patch-2
Document that Qt5 is required in Build chapter.
Christian Weiske [Sun, 18 Mar 2018 21:05:40 +0000 (22:05 +0100)]
Qt5 is required
Qt4 cannot be used anymore - see https://sourceforge.net/p/gpsbabel/mailman/message/
36264877/
Christian Weiske [Fri, 16 Mar 2018 22:44:53 +0000 (23:44 +0100)]
Fix typo in geojson docs (#161)
tsteven4 [Wed, 14 Feb 2018 15:25:14 +0000 (08:25 -0700)]
fix bugs specific to big endian machines (#155)
* round up some loose endians in mapbar.
* round up another endian, this time in mapsend.
* chase the endians out of naviguide.
also, a potential bug with Qstring length vs. encoded string length.
tsteven4 [Sat, 30 Dec 2017 23:21:12 +0000 (16:21 -0700)]
fixes for the position and track filters. (#157)
the position filter could corrupt the route_waypt_ct for routes/tracks.
the track filter underestimated speed when there were multiple
waypoints with the same time.
tsteven4 [Wed, 27 Dec 2017 14:46:02 +0000 (07:46 -0700)]
garmin gpi reader and writer enhancements (#154)
* enhance garmin gpi reader and writer.
1. fix a few memory leaks.
2. properly encode category passed from user to writer.
3. add support for reading gpi files with dual language strings.
4. add support for code page 65001, i.e. utf8.
5. make sure writer embeds encoded string lengths instead of the lengths of source QStrings.
6. enhance test to cover all of the above.
* correct reference mode.
* fix garmin_gpi test for windows.
* rename garmin_gpi country code to language code.
tsteven4 [Mon, 18 Dec 2017 15:15:34 +0000 (08:15 -0700)]
Prefer QLatin1String for conversion from char strings (#152)
* Prefer QLatin1String for conversion from char strings
as opposed to QStringLiteral or QString when used with
QString::compare or QStringRef::compare.
tsteven4 [Sun, 17 Dec 2017 19:28:18 +0000 (12:28 -0700)]
generalize make_windows_release for MinGW or MSVC. (#151)
make_windows_release.ps1 now can be used with MinGW or MSVC. It is likely we will have to switch compilers with Qt >= 5.6 because MinGW is not supported with webengine, and Qt >= 5.6 release packages from www.qt.io distributes webengine and not webkit (although some other parties build webkit from source with these versions of Qt).
appveyor.yml is modified to run a release on one MinGW case (Qt 5.5, webkit) and one MSVC case (Qt 5.6, webengine, 32 bit). In the case of MSVC the VC redistributible installer is run by setup.
Note that inno setup compiler is always run in 32 bit mode, so if you use this with 64 bit executables they will install in the wrong place, i.e. "Program Files (x86)"
tsteven4 [Sun, 17 Dec 2017 16:42:57 +0000 (09:42 -0700)]
allow passing of multiple possible extensions to GUI (#149)
The extensions are used by GUI for filtering files to display for both input and output. The first extension is used by the gui in the output file dialog if a user doesn't supply and extension.
tsteven4 [Wed, 13 Dec 2017 18:31:16 +0000 (11:31 -0700)]
add support for shape files with non us-ascii filenames. (#148)
GPSBabel [Sun, 10 Dec 2017 06:53:34 +0000 (00:53 -0600)]
Merge pull request #145 from tsteven4/webengine
Webengine
tsteven4 [Sat, 9 Dec 2017 19:08:31 +0000 (12:08 -0700)]
Merge branch 'master' into webengine
tsteven4 [Sat, 9 Dec 2017 15:54:26 +0000 (08:54 -0700)]
modify igc writer for consistent rounding. (#146)
tsteven4 [Fri, 8 Dec 2017 15:20:30 +0000 (08:20 -0700)]
gui map js beautification and corrections.
tsteven4 [Thu, 7 Dec 2017 23:30:13 +0000 (16:30 -0700)]
delete obsolete & unused html files.
tsteven4 [Thu, 7 Dec 2017 23:08:50 +0000 (16:08 -0700)]
update gmapbase.html for modern stds compliance.
tsteven4 [Thu, 7 Dec 2017 19:29:25 +0000 (12:29 -0700)]
improve js debug & cleanup unused map stuff.
tsteven4 [Thu, 7 Dec 2017 17:49:24 +0000 (10:49 -0700)]
add debug clicker logging back, restore page name.
tsteven4 [Thu, 7 Dec 2017 17:40:53 +0000 (10:40 -0700)]
Merge branch 'webengine' of https://github.com/tsteven4/gpsbabel into webengine
tsteven4 [Thu, 7 Dec 2017 17:39:24 +0000 (10:39 -0700)]
update to google maps api v3.
Robert Lipe [Thu, 7 Dec 2017 07:06:21 +0000 (01:06 -0600)]
Typo fix in Mac-not case.
Robert Lipe [Thu, 7 Dec 2017 06:56:25 +0000 (00:56 -0600)]
Put back in pre Qt 5.4 code path in upgradecheck for Travis.
Robert Lipe [Thu, 7 Dec 2017 06:31:07 +0000 (00:31 -0600)]
Minor code cleanups.
Robert Lipe [Thu, 7 Dec 2017 00:48:36 +0000 (18:48 -0600)]
Turn off debug.
Robert Lipe [Thu, 7 Dec 2017 00:46:18 +0000 (18:46 -0600)]
Loosen coupling of upgrade queries to OS version by using newer (2014) Qt services.
GPSBabel [Wed, 6 Dec 2017 22:29:19 +0000 (16:29 -0600)]
Merge pull request #143 from gpsbabel/fix_bad_merge
Fix a bad merge base in PR 126. Only main.cc seems to be affected.
Robert Lipe [Wed, 6 Dec 2017 22:25:43 +0000 (16:25 -0600)]
Fix includes after repairing 126.
Robert Lipe [Wed, 6 Dec 2017 21:52:36 +0000 (15:52 -0600)]
Fix bad git merge in main.cc from PR 126
GPSBabel [Wed, 6 Dec 2017 01:56:59 +0000 (19:56 -0600)]
Merge pull request #126 from gpsbabel/cleanup
Header sorting, moving to C++11. Iterator simplifications.
tsteven4 [Tue, 5 Dec 2017 22:03:16 +0000 (15:03 -0700)]
make windows release script work for any clone name. (#140)
Dr. Tilmann Bubeck [Tue, 5 Dec 2017 15:10:57 +0000 (16:10 +0100)]
Extend KML, so that <TimeSpan> can be used to describe the time span (#115)
Robert Lipe [Tue, 5 Dec 2017 06:48:01 +0000 (00:48 -0600)]
Simplify time in gopal.
GPSBabel [Tue, 5 Dec 2017 05:35:01 +0000 (23:35 -0600)]
Merge branch 'master' into cleanup
tsteven4 [Tue, 5 Dec 2017 02:46:37 +0000 (19:46 -0700)]
Merge remote-tracking branch 'origin/master' into webengine
tsteven4 [Mon, 4 Dec 2017 22:43:32 +0000 (15:43 -0700)]
add utf8 file name test to windows appveyor builds. (#138)
Viet-Tam Luu [Mon, 4 Dec 2017 21:54:19 +0000 (13:54 -0800)]
Better handling of UTF-8 paths (#87)
* Better handling of UTF-8 paths
Remove gpsbabel calls to qPrintable which destroys non-ANSI path names on Windows. Replace with QString::toUtf8() and modify low-level file handling code to use _wfopen() and other wide-char functions on Windows to support non-ASCII paths. (I did an experiment to convince myself that fopen() doesn't do UTF-8, and that _wfopen() correctly creates a file with a non-ASCII filename starting from a UTF-8 name.) Add ufopen() function as a UTF-8 wrapper for fopen(). Change inifile_init() filename argument type to QString.
Leave serial port paths alone ("if your serial port path has non-ANSI characters, you're going to have a bad time").
* Fix valgrind mismatched free/malloc error.
* Correctly encode output paths in native locale on non-Windows
On Mac/Linux, convert output file path from internal UTF-8 to local encoding (which may be UTF-8 or something else) when creating the file. Fixes test_encoding failure.
* Support Unicode paths for .gz files on Windows
Use zlib's Windows-specific gzopen_w() to support Unicode paths.
* Convert UTF-8 to local encoding when opening gzip file on non-Windows
This should fix the test_encoding failure on Travis-CI.
Also, change Windows side to manually allocating wchar_t array; although a bit less elegant, it's very localized and avoids introducing a whole new dependency on std::wstring.
* Use explicit char* to QString conversion in qPrintable
The implicit conversion works, but I prefer the an explicit one (if only as a reminder that we should convert all internal strings to QString).
* Add comment to QString-to-wchar_t[] conversion
... since it may not be immediately obvious what that line of code does.
* Fix merge conflict resolution error
* Fix merge conflict (again)
* Revert shape.cc
* Update gbfile.cc
* Update mkt_logger.cc to use QString tempfile paths.
* Change ufopen() to take QString filename argument.
Where converting from char*, use an explicit QString::fromUtf8() conversion rather than the implicit QString(const char*) constructor.
* Use QFile::exists() and QFile::open() rather than ufopen() to verify a file exists and can be opened.
* Remove redundant call to QFile::exists(). Trivial include cleanup in main.cc.
* Remove superfluous QVector include.
* add newline at EOF.
Robert Lipe [Mon, 4 Dec 2017 19:05:30 +0000 (13:05 -0600)]
Fix case in qDebug #include
Robert Lipe [Mon, 4 Dec 2017 19:01:55 +0000 (13:01 -0600)]
QStringLiteral->QLatin1String... in files I didn't even mean to
check in. (I think I've recycled an old branch name with dangling changes.)
Robert Lipe [Mon, 4 Dec 2017 17:31:56 +0000 (11:31 -0600)]
Nuke dead vars.
Robert Lipe [Mon, 4 Dec 2017 17:31:07 +0000 (11:31 -0600)]
Eliminate strftime in gopal.cc
GPSBabel [Mon, 4 Dec 2017 08:17:12 +0000 (02:17 -0600)]
Merge pull request #124 from tsteven4/appveyor
Appveyor for misc internal builds (debug /opt, 32/64, mscvc/gcc, etc) and start adding features to allow a full release withing Amveor, hopefully in lliest tientethan it takes my VM down download and register the mandatory 4GB of updates! Hooray kl